package com.heima.behavior.service;

import com.heima.model.behavior.LikesBehaviorDto;
import com.heima.model.behavior.ReadBehaviorDto;
import com.heima.model.behavior.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author lzq
 * @data 2023/5/10 14:15
 */
public interface BehaviorService {
    /**
     * 点赞
     * @param dto
     * @return
     */
    ResponseResult likesBehavior(LikesBehaviorDto dto);

    /**
     * 阅读量
     * @param dto
     * @return
     */
    ResponseResult readBehavior(ReadBehaviorDto dto);

    /**
     * 喜欢不喜欢
     * @param dto
     * @return
     */
    ResponseResult unLikesBehavior(UnLikesBehaviorDto dto);
}
